assorted bugs: tool timeouts, schema files, and verifyinput callbacks#2511
assorted bugs: tool timeouts, schema files, and verifyinput callbacks#2511
Conversation
WalkthroughThis PR modifies configuration, frontend state management, and backend tool validation across three areas. The Electron builder config adds unpacking of Monaco editor schema files from ASAR archives. The AIToolUse React component refactors keepalive logic to use persistent refs (partsRef, toolCallIdRef) instead of closures to prevent stale data references in intervals and handlers, with simplified effect dependencies. The Go backend tools (read_dir, read_text_file) gain input verification hooks that validate and expand file paths, enforce directory/file type constraints, and block sensitive files before tool execution. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
🧰 Additional context used🧠 Learnings (3)📓 Common learnings📚 Learning: 2025-10-15T03:21:02.229ZApplied to files:
📚 Learning: 2025-10-14T06:30:54.763ZApplied to files:
🧬 Code graph analysis (2)pkg/aiusechat/tools_readdir.go (2)
pkg/aiusechat/tools_readfile.go (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (8)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.5.0)Error: unknown linters: 'unusedfunc,unusedparams', run 'golangci-lint help linters' to see the list of supported linters Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
No description provided.